package com.boot.config;

import com.boot.domain.Info;
import com.boot.domain.Student;
import com.boot.domain.Teacher;
import com.boot.domain.User;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Import;

/**
 * @author
 * @date 2025-07-29
 * @Description
 */
@EnableAutoConfiguration
@EnableConfigurationProperties({User.class, Info.class, Teacher.class, Student.class}) //EnableConfigurationProperties只能引入user，不能引入info，因为必须和@ConfigurationProperties配合
@Import(Info.class) //import两个都可以引入 @Import({Info.class,User.class})
public class UpConfig {
}
